﻿package com.badibadi.infos;

import com.badibadi.uniclubber.R;

import android.content.Context;
import android.graphics.drawable.Drawable;

public class AddingRecordNewInfos {

//	/**
//	 * 子项
//	 */
//	private String[] item;
//	/**
//	 * 记录子类打勾情况
//	 */
//	private boolean[] isItemClick;
	/**
	 * 记录选中的个数
	 */
	private int selectNumber = 0;
	/**
	 * 选择的上限
	 */
	private int UpperLimit = 5;
	/**
	 * 选择的下限
	 */
	private int LowerLimit = 1;
	/**
	 * 存储随机颜色
	 */
	private Drawable[] Save_btn_color;

	public AddingRecordNewInfos(Context ct) {
		Save_btn_color = new Drawable[] {
				ct.getResources().getDrawable(R.drawable.shape_yuanhu),
				ct.getResources().getDrawable(R.drawable.shape_yuanhu2),
				ct.getResources().getDrawable(R.drawable.shape_yuanhu3),
				ct.getResources().getDrawable(R.drawable.shape_yuanhu4),
				ct.getResources().getDrawable(R.drawable.shape_yuanhu5),
				ct.getResources().getDrawable(R.drawable.shape_yuanhu6),
				ct.getResources().getDrawable(R.drawable.shape_yuanhu7),
				ct.getResources().getDrawable(R.drawable.shape_yuanhu8),
				ct.getResources().getDrawable(R.drawable.shape_yuanhu9),

		};
//		item = ct.getResources().getStringArray(R.array.label_type);
//		isItemClick = new boolean[item.length];
//		for (int i = 0; i < item.length; i++) {
//			isItemClick[i] = false;
//		}
	}

//	public String[] getItem() {
//		return item;
//	}
//
//	public void setItem(String[] item) {
//		this.item = item;
//	}
	public int getSelectNumber() {
		return selectNumber;
	}

	public void setSelectNumber(int selectNumber) {
		this.selectNumber = selectNumber;
	}

	public int getUpperLimit() {
		return UpperLimit;
	}

	public void setUpperLimit(int upperLimit) {
		UpperLimit = upperLimit;
	}

	public int getLowerLimit() {
		return LowerLimit;
	}

	public void setLowerLimit(int lowerLimit) {
		LowerLimit = lowerLimit;
	}

	public Drawable[] getSave_btn_color() {
		return Save_btn_color;
	}

	public void setSave_btn_color(Drawable[] save_btn_color) {
		Save_btn_color = save_btn_color;
	}

}
